An exception raised when a test fails during an execution. More...
Public Member Functions | |
TestRunException () | |
TestRunException (const nkMemory::StringView &rejectionReason) | |
TestRunException (nkMemory::StringView rejectionReason, nkMemory::BufferCast< TestStackLevel > rejectionStack) | |
nkMemory::StringView | getRejectionReason () const |
nkMemory::BufferView< TestStackLevel > | getRejectionStack () const |
An exception raised when a test fails during an execution.
nkDebug::TestRunException::TestRunException | ( | ) |
Default constructor, without message.
nkDebug::TestRunException::TestRunException | ( | const nkMemory::StringView & | rejectionReason | ) |
Messaged constructor.
rejectionReason | The reason for the test rejection. |
nkDebug::TestRunException::TestRunException | ( | nkMemory::StringView | rejectionReason, |
nkMemory::BufferCast< TestStackLevel > | rejectionStack | ||
) |
Messaged constructor, with a custom stack trace.
rejectionReason | The reason for the test rejection. |
rejectionStack | The stack to attach to the exception. |
nkMemory::StringView nkDebug::TestRunException::getRejectionReason | ( | ) | const |
nkMemory::BufferView<TestStackLevel> nkDebug::TestRunException::getRejectionStack | ( | ) | const |